﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using LX.Core.Data;
using LX.Data;

namespace LX.Data
{
    public interface IApplicationServiceContext
    {
        IApplicationServiceContext RunIn(MethodBase methodinfo);
        void Do(Action<ApplicationTransaction> fun);
        T Do<T>(Func<ApplicationTransaction, T> fun);
    }
}
